package com.wnxy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author alice
 * @since 2021-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_ticket")
public class Ticket implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ticket_id",type = IdType.AUTO)//input
    private Integer ticketId;

    /**
     * 演出id
     */
    private Integer ticketPerformId;

    /**
     * 演出标题
     */
    private String ticketPerformTitle;

    /**
     * 演出厅id
     */
    @TableField("ticket_room_id")
    private Integer ticketRoomId;

    /**
     * 演出厅名字
     */
    @TableField("ticket_room_name")
    private String ticketRoomName;

    /**
     * 票价
     */
    private Double ticketPrice;

    /**
     * 订单状态  0:待售 1;订单 2:已售
     */
    private Integer ticketStatus;


    /**
     * 订单id
     */
    private Integer ticketOrderId;

    /**
     * 座位信息
     */
    private Integer ticketSeatId;



}
